home *** CD-ROM | disk | FTP | other *** search
/ Tech Arsenal 1 / Tech Arsenal (Arsenal Computer).ISO / tek-20 / nosvw.zip / IFCONFIG < prev    next >
Text File  |  1991-09-18  |  7KB  |  155 lines

  1. ========                                            NOSview [137]
  2. ifconfig
  3. ========
  4.  
  5. _________________________________________________________________
  6. ifconfig
  7. _________________________________________________________________
  8. Display a list of all attached interfaces, with a short status
  9. report for each.
  10.  
  11. >> Example of ifconfig display:
  12.  
  13. ................................................................
  14. :netrom     IP addr ns9bob MTU 236 Link encap NETROM           :
  15. :           Link addr NS9BOB-5                                 :
  16. :           flags 1 trace 0x0 netmask 0x00000000               :
  17. :                                     broadcast 0.0.0.0        :
  18. :           sent: ip 0 tot 0 idle 0:00:00:07                   :
  19. :           recv: ip 0 tot 0 idle 0:00:00:07                   :
  20. :tnc0       IP addr ns9bob MTU 256 Link encap AX25             :
  21. :           Link addr NS9BOB-5                                 :
  22. :           flags 1 trace 0x0 netmask 0x44ffffff broadcast uk  :
  23. :           sent: ip 2 tot 9 idle 0:00:00:06                   :
  24. :           recv: ip 0 tot 0 idle 0:00:00:07                   :
  25. :loopback   IP addr loopback MTU 65535 Link encap None         :
  26. :           flags 0 trace 0x0 netmask 0xffffffff               :
  27. :                                     broadcast 255.255.255.255:
  28. :           sent: ip 0 tot 0 idle 0:00:00:08                   :
  29. :           recv: ip 0 tot 0 idle 0:00:00:08                   :
  30. :encap      IP addr 0.0.0.0 MTU 65535 Link encap None          :
  31. :           flags 0 trace 0x0 netmask 0xffffffff               :
  32. :                                     broadcast 255.255.255.255:
  33. :           sent: ip 0 tot 0 idle 0:00:00:08                   :
  34. :           recv: ip 0 tot 0 idle 0:00:00:08                   :
  35. :..............................................................:
  36.  
  37.  
  38. _________________________________________________________________
  39. ifconfig <interface>
  40. _________________________________________________________________
  41. Display an extended status report of the interface.
  42.  
  43. >> Example:  The command 'ifconfig tnc0' produces a display of
  44. the form:
  45.  
  46. ................................................................
  47. :tnc0       IP addr ns9bob MTU 256 Link encap AX25             :
  48. :           Link addr NS9BOB-5                                 :
  49. :           flags 1 trace 0x0 netmask 0x44ffffff broadcast uk  :
  50. :           sent: ip 2 tot 9 idle 0:00:00:48                   :
  51. :           recv: ip 0 tot 0 idle 0:00:00:49                   :
  52. :  IN:    0 pkts                                               :
  53. :  OUT:   9 pkts                                               :
  54. :..............................................................:
  55.  
  56.  
  57. _________________________________________________________________
  58. ifconfig <interface> broadcast <broadcast_ip_address>
  59. _________________________________________________________________
  60. Set the broadcast address for the interface.
  61.  
  62. The <broadcast_ip_address> takes the form of an IP address with
  63. 1's in the host part of the address.  This is related to the
  64. 'netmask' sub-command described below.
  65.  
  66. See also the 'arp' command.
  67.  
  68. >> Examples:  ifconfig tnc0 broadcast 44.255.255.255
  69.               ifconfig tnc0 broadcast uk
  70.                              (where uk.ampr.org is in DOMAIN.TXT)
  71.  
  72.  
  73. _________________________________________________________________
  74. ifconfig <interface> encapsulation
  75.                          none|ax25|encap|ether|slip|netrom|ppp
  76. _________________________________________________________________
  77. Sets the encapsulation for <interface>.
  78.  
  79. The 'encap' option is used when it is required to encapsulate
  80. AMPR packets within another IP datagram for transmission over
  81. other networks (for example, over the "real" Internet).  This is
  82. necessary because the AMPRNET has a flat namespace (all names are
  83. in the single ".ampr.org" domain), and this causes problems with
  84. Internet.
  85.  
  86. >> Example:  ifconfig tnc0 encapsulation ax25
  87.  
  88.  
  89. _________________________________________________________________
  90. ifconfig <interface> forward <forward-interface>
  91. _________________________________________________________________
  92. Set a forwarding interface for multiple channel interfaces.  When
  93. forwarding is defined, all output destined for <interface> is
  94. redirected to <forward-interface>.
  95.  
  96. To remove forwarding, set <forward-interface> to <interface>.
  97.  
  98. >> Example:  ifconfig tnc0 forward sl0
  99.  
  100.  
  101. _________________________________________________________________
  102. ifconfig <interface> ipaddress <ipaddress>
  103. _________________________________________________________________
  104. Set the IP address for this interface.  For hosts with only one
  105. interface, the interface address is usually the same as the host
  106. address.
  107.  
  108. It may be necessary to set an IP address when a system acts as a
  109. gateway to the Internet; for example, via an Ethernet adapter.
  110. (Note that 44.x.x.x addresses are NOT connected to the Internet).
  111.  
  112. See also the 'hostname' and 'ip address' commands.
  113.  
  114. >> Example:  ifconfig en0 ipaddress 123.45.6.7
  115.  
  116.  
  117. _________________________________________________________________
  118. ifconfig <interface> linkaddress <callsign> | <ether_address>
  119. _________________________________________________________________
  120. Set the hardware dependent address for this interface.
  121.  
  122. >> Examples:  ifconfig tnc0 linkaddress NS9BOB-5
  123.               ifconfig en0 linkaddress 00:11:22:33:44:55
  124.  
  125.  
  126. _________________________________________________________________
  127. ifconfig <interface> mtu <mtu>
  128. _________________________________________________________________
  129. Set the Maximum Transmission Unit (MTU) in bytes for this
  130. interface.
  131.  
  132. See the 'attach' and 'tcp' commands for more information on MTU
  133. settings.
  134.  
  135. >> Example:  ifconfig tnc0 mtu 1588
  136.  
  137.  
  138. _________________________________________________________________
  139. ifconfig <interface> netmask <hex_net_mask>
  140. _________________________________________________________________
  141. Set the sub-net mask for this interface.  The <hex_net_mask>
  142. takes the form of an IP address with 1's in the network and
  143. subnet parts of the address, and 0's in the host part of the
  144. address, expressed as a hexadecimal number.  This is related to
  145. the 'broadcast' sub-command.  See also the 'route' command.
  146.  
  147. >> Example: ifconfig tnc0 netmask 0xff000000
  148.                          (for a Class A network such as 44.x.x.x)
  149.  
  150.  
  151. _________________________________________________________________
  152. ifconfig <interface> rxbuf <buffer_size>
  153. _________________________________________________________________
  154. Set the receive buffer size.
  155.